package com.zc.springmvc.mybatis.dao;

import org.springframework.beans.factory.annotation.Autowired;

import com.zc.springmvc.mybatis.bean.UserBean;
import com.zc.springmvc.mybatis.mapper.UserBeanMapper;

public class UserDao {
	@Autowired
	private UserBeanMapper umapper;
	
	public UserBean insertUser(UserBean userbean) throws Exception {
		
		
		umapper.insert(userbean);
		return null;
	}

	public UserBean loginUser(UserBean userbean) throws Exception {
		
		return null;
	}

	public UserBean deleteUser(UserBean userbean) throws Exception {

		return null;
	}

	public UserBean updateUser(UserBean userbean) throws Exception {
		return null;
	}
}
